/**
 * 
 */
package com.cp16.tss.bo;

import java.util.List;

import com.cp16.tss.dao.UserLoginDAO;
import com.cp16.tss.model.UserLogin;

/**
 * @author ADMIN
 * 
 */
public class UserLoginBO {

	private UserLoginDAO userDAO = new UserLoginDAO();

	public List<UserLogin> getAllUser() throws Exception{
		return userDAO.getAllUser();
	}
	
	public boolean addUser(UserLogin user) throws Exception {
		return userDAO.addUser(user);
	}

	public boolean editUser(UserLogin user) throws Exception {
		return userDAO.editUser(user);
	}

	public boolean deleteUser(UserLogin user) throws Exception {
		return userDAO.deleteUser(user);
	}
	
}
